function addVote(sType, sData, callbackContainier) {
    $.ajax({
        type: "GET",
        url: "/ajax/?mode=voating",
        data: "vote_type="+sType+"&"+sData,
        dataType: "html",
        success: function(result){
            $('#'+callbackContainier).html(result);
        },
        error: function() {
            alert();  
        }
    });
}

function addVoteBeerFirm(iFirmId, iVotingRang) {
    addVote("beer_firm", "fid="+iFirmId+"&rang="+iVotingRang, "");
}